export const state = () => ({
    user: null
})

export const mutations = {
    save(state, user){
        state.user = user
    }
}